Kaydet (Commit) 9dc4377c authored tarafından Kohei Yoshida's avatar Kohei Yoshida

Revert "fdo#74064 The filename gets properly highlighted in the Save As dialog."

This reverts commit 55eb8669, which caused a
regression fdo#76466.
üst 80652a80
...@@ -1345,13 +1345,9 @@ void SAL_CALL SalGtkFilePicker::setValue( sal_Int16 nControlId, sal_Int16 nContr ...@@ -1345,13 +1345,9 @@ void SAL_CALL SalGtkFilePicker::setValue( sal_Int16 nControlId, sal_Int16 nContr
OSL_TRACE("enable unknown control %d", nControlId); OSL_TRACE("enable unknown control %d", nControlId);
else if( tType == GTK_TYPE_TOGGLE_BUTTON ) else if( tType == GTK_TYPE_TOGGLE_BUTTON )
{ {
// fdo#74064, not activating the auto_extension checkbox so that proper filename is highlighted. bool bChecked = false;
if(nControlId != ExtendedFilePickerElementIds::CHECKBOX_AUTOEXTENSION) rValue >>= bChecked;
{ gtk_toggle_button_set_active( GTK_TOGGLE_BUTTON( pWidget ), bChecked );
bool bChecked = false;
rValue >>= bChecked;
gtk_toggle_button_set_active( GTK_TOGGLE_BUTTON( pWidget ), bChecked );
}
} }
else if( tType == GTK_TYPE_COMBO_BOX ) else if( tType == GTK_TYPE_COMBO_BOX )
HandleSetListValue(GTK_COMBO_BOX(pWidget), nControlAction, rValue); HandleSetListValue(GTK_COMBO_BOX(pWidget), nControlAction, rValue);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment