Resolves tdf#166974 - Invert ShowAgain logic on WhatsNew dialog
Follow-up to ca4328f998
Change-Id: Iaca96b78677695e59144cc7125a4f3283741e580
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/204744
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Tested-by: Jenkins
This commit is contained in:
committed by
Heiko Tietze
parent
d2e70beadd
commit
83c7330fb5
@@ -67,7 +67,7 @@ WelcomeDialog::WelcomeDialog(weld::Window* pParent, const bool bIsFirstStart)
|
||||
void WelcomeDialog::ImplDestroy()
|
||||
{
|
||||
m_xTabCtrl->set_current_page(sNewsTab); // ensure next start with the first page
|
||||
if (!m_xShowAgain->get_active())
|
||||
if (m_xShowAgain->get_active())
|
||||
{
|
||||
std::shared_ptr<comphelper::ConfigurationChanges> xChanges(
|
||||
comphelper::ConfigurationChanges::create());
|
||||
|
||||
@@ -23,12 +23,11 @@
|
||||
<property name="layout-style">end</property>
|
||||
<child>
|
||||
<object class="GtkCheckButton" id="cbShowAgain">
|
||||
<property name="label" translatable="yes" context="welcomedialog|showagain">Do Show Again</property>
|
||||
<property name="label" translatable="yes" context="welcomedialog|showagain">Do not show again</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="can-focus">True</property>
|
||||
<property name="receives-default">False</property>
|
||||
<property name="use-underline">True</property>
|
||||
<property name="active">True</property>
|
||||
<property name="draw-indicator">True</property>
|
||||
</object>
|
||||
<packing>
|
||||
|
||||
Reference in New Issue
Block a user