Ignore:
Timestamp:
Dec 5, 2010, 4:16:09 AM (11 years ago)
Author:
kopal
Message:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/WorkspaceManager/WorkspaceManager.cs

    r2116 r2167  
    6161        public WorkspaceManager()
    6262        {
    63             Settings = new WorkspaceManagerSettings();
     63            Settings = new WorkspaceManagerSettings(this);
    6464            WorkspaceModel = new WorkspaceModel();
    6565            WorkspaceModel.WorkspaceManagerEditor = this;
     
    113113
    114114        /// <summary>
     115        /// Current filename
     116        /// </summary>
     117        public string CurrentFilename { private set; get; }
     118
     119        /// <summary>
    115120        /// Called by clicking on the new button of CrypTool
    116121        /// Creates a new Model
     
    123128            }
    124129            this.HasChanges = false;
     130            CurrentFilename = "unnamed project";
    125131            this.OnProjectTitleChanged.BeginInvoke(this, "unnamed project", null, null);
    126132        }
     
    141147                HasChanges = false;
    142148                this.OnProjectTitleChanged.BeginInvoke(this, System.IO.Path.GetFileName(fileName), null, null);
     149                CurrentFilename = fileName;
    143150            }
    144151            catch (Exception ex)
     
    161168                HasChanges = false;
    162169                this.OnProjectTitleChanged.BeginInvoke(this, System.IO.Path.GetFileName(fileName), null, null);
     170                CurrentFilename = fileName;
    163171            }
    164172            catch (Exception ex)
Note: See TracChangeset for help on using the changeset viewer.