- fix: bottom and left panel properties not correctly saved when hiding the main window
This commit is contained in:
parent
43a1b6074a
commit
0e4bae7b93
|
@ -1355,19 +1355,11 @@ void MainWindow::debug()
|
|||
case CompileTarget::None:
|
||||
return;
|
||||
case CompileTarget::File:
|
||||
// if (mCompiler->useRunParams) {
|
||||
|
||||
// }
|
||||
mDebugger->sendCommand("start",params);
|
||||
mDebugger->updateDebugInfo();
|
||||
break;
|
||||
case CompileTarget::Project:
|
||||
params = "";
|
||||
//if fCompiler.UseRunParams then
|
||||
// params := params + ' ' + fProject.Options.CmdLineArgs;
|
||||
//if fCompiler.UseInputFile then
|
||||
// params := params + ' < "' + fCompiler.InputFile + '"';
|
||||
|
||||
mDebugger->sendCommand("start",params);
|
||||
mDebugger->updateDebugInfo();
|
||||
break;
|
||||
|
@ -1384,12 +1376,6 @@ void MainWindow::debug()
|
|||
mDebugger->updateDebugInfo();
|
||||
break;
|
||||
case CompileTarget::Project:
|
||||
//params := '';
|
||||
//if fCompiler.UseRunParams then
|
||||
// params := params + ' ' + fProject.Options.CmdLineArgs;
|
||||
//if fCompiler.UseInputFile then
|
||||
// params := params + ' < "' + fCompiler.InputFile + '"';
|
||||
|
||||
mDebugger->sendCommand("run",params);
|
||||
mDebugger->updateDebugInfo();
|
||||
break;
|
||||
|
|
|
@ -542,8 +542,7 @@ private:
|
|||
protected:
|
||||
void closeEvent(QCloseEvent *event) override;
|
||||
void showEvent(QShowEvent* event) override;
|
||||
// void dragEnterEvent(QDragEnterEvent *event) override;
|
||||
// void dropEvent(QDropEvent *event) override;
|
||||
void hideEvent(QHideEvent *event) override;
|
||||
};
|
||||
|
||||
extern MainWindow* pMainWindow;
|
||||
|
|
Loading…
Reference in New Issue