Skip to content

Qt: restore welcome page release string after edit preferences

Chuck Craft requested to merge chuckcraft/wireshark:issue/16356 into master

closes #16356 (closed)
The release string is generated from several pieces of information and does not have a match in the ".ts" files.
Clicking OK on Edit->Preferences always does a call to loadLanguage.
setReleaseLabel() modeled after interfaceListChanged() which also sets label text and was being called on a language change event.

preferences_dialog.cpp
----------------------
void PreferencesDialog::on_buttonBox_accepted()

    write_language_prefs();
    wsApp->loadLanguage(QString(language));

Merge request reports