fix nonmodal dialogs going behind main window in linux
notes: was okay in windows wnd position is not preserved on hiding via Close event now, requires extra handling, as in class RotateDialog or g_guiSettings (no much critical cases exist) min max buttons aren't shown (when requested) in Ubuntu, shown in Windows; were shown for Qt::Window flag
This commit is contained in:
@@ -42,7 +42,7 @@
|
||||
|
||||
|
||||
bool DoLoadPortalFileDialog(){
|
||||
QDialog dialog( g_pRadiantWnd, Qt::Window | Qt::CustomizeWindowHint | Qt::WindowCloseButtonHint );
|
||||
QDialog dialog( g_pRadiantWnd, Qt::Dialog | Qt::WindowCloseButtonHint );
|
||||
dialog.setWindowTitle( "Load .prt" );
|
||||
|
||||
QLineEdit *line;
|
||||
|
||||
Reference in New Issue
Block a user