ShowInTaskbar="true"
WindowStartupLocation="CenterScreen"
Icon="/PithosPlus;component/Images/PithosTaskbar.png"
- WindowStyle="ToolWindow"
+ WindowStyle="ToolWindow"
+ Topmost="True"
ResizeMode="NoResize"
Background="White">
public PreferencesViewModel(IWindowManager windowManager, IEventAggregator events, ShellViewModel shell, PithosSettings settings)\r
:this(windowManager,events,shell,settings,null)\r
{\r
+ this.DisplayName = "Pithos+ Preferences";\r
}\r
\r
public PreferencesViewModel(IWindowManager windowManager, IEventAggregator events, ShellViewModel shell, PithosSettings settings, string currentTab)\r
var preferences = IoC.Get<PreferencesViewModel>();//??new PreferencesViewModel(_windowManager, _events, this, Settings,currentTab);
if (!String.IsNullOrWhiteSpace(currentTab))
preferences.SelectedTab = currentTab;
-
- _windowManager.ShowDialog(preferences);
+ if (!preferences.IsActive)
+ _windowManager.ShowDialog(preferences);
}