Skip to content

Commit

Permalink
Qt: Fix Confirm unsaved capture files preference.
Browse files Browse the repository at this point in the history
Set initial value for confirmUnsavedCheckBox.

Change-Id: I7dfebf21e516a9d1be1bd3f543a00834222c9ff7
Reviewed-on: https://code.wireshark.org/review/12739
Reviewed-by: Stig Bjørlykke <[email protected]>
  • Loading branch information
stigbjorlykke committed Dec 20, 2015
1 parent 8fe68db commit 25e417f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ui/qt/main_window_preferences_frame.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ void MainWindowPreferencesFrame::updateWidgets()
ui->maxFilterLineEdit->setText(QString::number(pref_recent_df_entries_max_->stashed_val.uint));
ui->maxRecentLineEdit->setText(QString::number(pref_recent_files_count_max_->stashed_val.uint));

ui->confirmUnsavedCheckBox->setChecked(pref_ask_unsaved_->stashed_val.boolval);
ui->autoScrollCheckBox->setChecked(pref_auto_scroll_on_expand_->stashed_val.boolval);
ui->autoScrollPercentageLineEdit->setText(QString::number(pref_auto_scroll_on_expand_->stashed_val.uint));

Expand Down

0 comments on commit 25e417f

Please sign in to comment.