mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-24 05:45:27 +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);
|
auto o = new InitialOptionsDialog(this);
|
||||||
o->setAttribute(Qt::WA_DeleteOnClose);
|
o->setAttribute(Qt::WA_DeleteOnClose);
|
||||||
|
o->loadOptions(options);
|
||||||
|
|
||||||
if (skipOptionsDialog) {
|
if (skipOptionsDialog) {
|
||||||
o->setupAndStartAnalysis();
|
o->setupAndStartAnalysis();
|
||||||
}
|
} else {
|
||||||
else
|
|
||||||
{
|
|
||||||
o->loadOptions(options);
|
|
||||||
o->show();
|
o->show();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user