mirror of https://github.com/buggins/dlangide.git
fix crash
This commit is contained in:
parent
611c2f2cb7
commit
17195a81f5
|
@ -25,9 +25,9 @@ class VariablesWindow : StringGridWidget {
|
||||||
class WatchPanel : DockWindow {
|
class WatchPanel : DockWindow {
|
||||||
|
|
||||||
this(string id) {
|
this(string id) {
|
||||||
super(id);
|
|
||||||
_caption.text = "Watch"d;
|
|
||||||
_showCloseButton = false;
|
_showCloseButton = false;
|
||||||
|
dockAlignment = DockAlignment.Bottom;
|
||||||
|
super(id);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected TabWidget _tabs;
|
protected TabWidget _tabs;
|
||||||
|
@ -52,6 +52,7 @@ class WatchPanel : DockWindow {
|
||||||
override protected void init() {
|
override protected void init() {
|
||||||
//styleId = STYLE_DOCK_WINDOW;
|
//styleId = STYLE_DOCK_WINDOW;
|
||||||
styleId = null;
|
styleId = null;
|
||||||
|
//_caption.text = "Watch"d;
|
||||||
_bodyWidget = createBodyWidget();
|
_bodyWidget = createBodyWidget();
|
||||||
//_bodyWidget.styleId = STYLE_DOCK_WINDOW_BODY;
|
//_bodyWidget.styleId = STYLE_DOCK_WINDOW_BODY;
|
||||||
addChild(_bodyWidget);
|
addChild(_bodyWidget);
|
||||||
|
|
Loading…
Reference in New Issue