Fixed autosave on disassembly metadata.

This commit is contained in:
mlong 2021-01-23 15:56:49 -06:00
parent 531a670dca
commit 450f6e81f4
3 changed files with 16 additions and 1 deletions

View File

@ -53,6 +53,11 @@ void DisassemblerMetadataDialog::showEvent(QShowEvent *)
ui->symbolTable->resizeRowsToContents();
}
void DisassemblerMetadataDialog::closeEvent(QCloseEvent *)
{
handleExitButton();
}
void DisassemblerMetadataDialog::handleExitButton()
{
m_bfm->requestDisassembly();

View File

@ -26,6 +26,7 @@ public:
protected:
void showEvent(QShowEvent *);
void closeEvent(QCloseEvent *);
protected slots:
void handleExitButton();
void handleProcessButton();

View File

@ -34,6 +34,12 @@
<property name="text">
<string>Apply</string>
</property>
<property name="autoDefault">
<bool>true</bool>
</property>
<property name="default">
<bool>true</bool>
</property>
</widget>
</item>
<item>
@ -41,8 +47,11 @@
<property name="text">
<string>&amp;Exit</string>
</property>
<property name="autoDefault">
<bool>false</bool>
</property>
<property name="default">
<bool>true</bool>
<bool>false</bool>
</property>
</widget>
</item>