BF [2897725] - Icon for report inconsistent
https://sourceforge.net/tracker/?func=detail&atid=955896&aid=2897725&group_id=176962 Fixed also the behavior - print button is disabled if not form configured for the tab
This commit is contained in:
parent
3efbdba935
commit
77d4059aa6
|
@ -975,6 +975,8 @@ public abstract class AbstractADWindowPanel extends AbstractUIPart implements To
|
||||||
{
|
{
|
||||||
toolbar.lock(curTab.isLocked());
|
toolbar.lock(curTab.isLocked());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
toolbar.enablePrint(curTab.isPrinted());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -1133,7 +1135,7 @@ public abstract class AbstractADWindowPanel extends AbstractUIPart implements To
|
||||||
|
|
||||||
adTab.evaluate(e);
|
adTab.evaluate(e);
|
||||||
|
|
||||||
toolbar.enablePrint(true);
|
toolbar.enablePrint(curTab.isPrinted());
|
||||||
toolbar.enableReport(true);
|
toolbar.enableReport(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1190,7 +1192,7 @@ public abstract class AbstractADWindowPanel extends AbstractUIPart implements To
|
||||||
toolbar.enableNavigation(false);
|
toolbar.enableNavigation(false);
|
||||||
toolbar.enableTabNavigation(false);
|
toolbar.enableTabNavigation(false);
|
||||||
toolbar.enableIgnore(true);
|
toolbar.enableIgnore(true);
|
||||||
toolbar.enablePrint(true);
|
toolbar.enablePrint(curTab.isPrinted());
|
||||||
toolbar.enableReport(true);
|
toolbar.enableReport(true);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -1239,7 +1241,7 @@ public abstract class AbstractADWindowPanel extends AbstractUIPart implements To
|
||||||
toolbar.enableNavigation(false);
|
toolbar.enableNavigation(false);
|
||||||
toolbar.enableTabNavigation(false);
|
toolbar.enableTabNavigation(false);
|
||||||
toolbar.enableIgnore(true);
|
toolbar.enableIgnore(true);
|
||||||
toolbar.enablePrint(true);
|
toolbar.enablePrint(curTab.isPrinted());
|
||||||
toolbar.enableReport(true);
|
toolbar.enableReport(true);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 901 B After Width: | Height: | Size: 392 B |
Binary file not shown.
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 654 B |
Loading…
Reference in New Issue