Skip to content

Commit

Permalink
Update Wizard.wl
Browse files Browse the repository at this point in the history
  • Loading branch information
JerryI authored Nov 30, 2024
1 parent 4a5a38c commit dd134d2
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Kernel/Wizard.wl
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Begin["`Private`"]
toStringHeld[expr_] := StringDrop[StringDrop[ToString[Hold[expr], InputForm], 5],-1]
SetAttributes[toStringHeld, HoldFirst];

TDSPalette := CellPrint[toStringHeld @ With[{parent = CurrentWindow["Origin"]},
TDSPalette := With[{cell = CellPrint[toStringHeld @ With[{parent = CurrentWindow["Origin"]},
{
{
EventHandler[InputButton["TDTrace"], Function[Null,
Expand Down Expand Up @@ -92,7 +92,11 @@ TDSPalette := CellPrint[toStringHeld @ With[{parent = CurrentWindow["Origin"]},
Item[" Helper widgets", FontSize->8]
}
} // Grid
], "Target"->_];
], "Target"->_]},
EventHandler[CurrentWindow["Origin"], {"Closed" -> Function[Null,
Delete[cell];
]}];
];

TDSWizard[] := Column[Join[
{Item["The following options are available:", FontSize->10, Background->LightGreen ]},
Expand Down

0 comments on commit dd134d2

Please sign in to comment.