From 2e8afa446f2444a8be5e6180bf90cfa48b6e02f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Wed, 17 Aug 2022 03:15:37 +0200 Subject: Add CfgA. --- c/layout.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'c/layout.cpp') diff --git a/c/layout.cpp b/c/layout.cpp index 09c0958..653b675 100644 --- a/c/layout.cpp +++ b/c/layout.cpp @@ -69,11 +69,13 @@ void DlvDragger::Drag(const int, const int y) const void DlvDragger::Reset() const { g_dlv->SetHeight(0); - Pl("cfg","set_dlv_height",0); + extern FileView g_fvCfg; + g_fvCfg->heightDlv = 0; UpdateLayout(); } void DlvDragger::Done() const { - Pl("cfg","set_dlv_height",g_dlv->Height()); + extern FileView g_fvCfg; + g_fvCfg->heightDlv = g_dlv->Height(); } -- cgit v1.2.3