mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-20 03:46:11 +00:00
Fix Command Line Args when skipping InitialOptionsDialog
This commit is contained in:
parent
705735c150
commit
a9c09339cf
@ -370,13 +370,11 @@ void MainWindow::displayInitialOptionsDialog(const InitialOptions &options, bool
|
||||
{
|
||||
auto o = new InitialOptionsDialog(this);
|
||||
o->setAttribute(Qt::WA_DeleteOnClose);
|
||||
o->loadOptions(options);
|
||||
|
||||
if (skipOptionsDialog) {
|
||||
o->setupAndStartAnalysis();
|
||||
}
|
||||
else
|
||||
{
|
||||
o->loadOptions(options);
|
||||
} else {
|
||||
o->show();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user