Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37757028
en ru br
ALT Linux repositórios
S:3.2.1-alt6

Group :: Escritórios
RPM: calligra

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: 0002-Make-show-hidden-row-s-work.patch
Download


From 28920c50e6300d643477f256aba91c8c51836682 Mon Sep 17 00:00:00 2001
From: Dag Andersen <danders@get2net.dk>
Date: Thu, 11 Jun 2020 10:43:38 +0200
Subject: [PATCH 02/54] Make show hidden row(s) work
Check for hidden rows was inverted to check for shown rows,
hence hidden rows would never be unhidden.
BUG:338816
BUG:354236
FIXED-IN:3.2.2
---
 sheets/commands/RowColumnManipulators.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sheets/commands/RowColumnManipulators.cpp b/sheets/commands/RowColumnManipulators.cpp
index 95282d6e31b..25e8c454e27 100644
--- a/sheets/commands/RowColumnManipulators.cpp
+++ b/sheets/commands/RowColumnManipulators.cpp
@@ -192,7 +192,7 @@ bool HideShowManipulator::preProcessing()
                     }
                 }
                 for (int row = range.top(); row <= range.bottom(); ++row) {
-                    if (!m_sheet->rowFormats()->isHidden(row)) {
+                    if (m_sheet->rowFormats()->isHidden(row)) {
                         region.add(QRect(1, row, KS_colMax, 1));
                     }
                 }
-- 
2.31.1
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009