octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #36359] Settings are not correctly synced


From: Israel Herraiz
Subject: [Octave-bug-tracker] [bug #36359] Settings are not correctly synced
Date: Tue, 01 May 2012 06:06:02 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.162 Safari/535.19

URL:
  <http://savannah.gnu.org/bugs/?36359>

                 Summary: Settings are not correctly synced
                 Project: GNU Octave
            Submitted by: herraiz
            Submitted on: Tue 01 May 2012 08:06:02 AM CEST
                Category: GUI
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Other
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:

The settings dialog is not correctly synced with the rest of the application.
For instance, if I open the settings dialog, change the display columns for
the file tree and close the dialog, the tree does not change. If I open and
close again, now the tree is changed.

This is because the settings in the destructor of SettingsDialog are synced
*after* the settingsChanged event is emitted. The SettingsDialog should be
destructed before the event is emitted.

The attached patch fixes this. Now the settings have immediate effect after
closing the settings dialog. Tested on Linux and Windows.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Tue 01 May 2012 08:06:02 AM CEST  Name: sync_settings.patch  Size: 800B 
 By: herraiz

<http://savannah.gnu.org/bugs/download.php?file_id=25764>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?36359>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]